<script setup lang='ts'>

</script>

<template>
    <div class="head">
        我是头部组件
        <Button1></Button1>

    </div>
</template>

<style scoped>
.head {
    font-size: 30px;
    color: white;
    text-align: center;
    line-height: 200px;
    width: 100%;
    height: 200px;
    background-color: red;
}
</style>